<%--
  Created by IntelliJ IDEA.
  User: 28732
  Date: 2024/12/26
  Time: 9:16
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>班级学生</title>
</head>
<body>
<a href="getAllClazz">返回</a>
    班级编号：${clazz.cId}<br>
    班级名称：${clazz.cName}<br>
    学生列表：
<table border="1">
    <tr>
        <td>编号</td>
        <td>姓名</td>
        <td>生日</td>
        <td>性别</td>
<%--        <td>班级编号</td>--%>
<%--        <td>操作</td>--%>
    </tr>
    <c:forEach items="${clazz.students}" var="stu">
        <tr>
            <td>${stu.sId}</td>
            <td>${stu.sName}</td>
            <td>${stu.birth}</td>
            <td>${stu.gender}</td>
<%--            <td>${stu.clazzId}</td>--%>
<%--            <td>--%>
<%--                <a href="getStudentById?id=${student.sId}">修改</a>--%>
<%--                <a href="deleteById?id=${student.sId}">删除</a>--%>
<%--            </td>--%>
        </tr>
    </c:forEach>
</table>
</body>
</html>
